Lazy Demand-driven Partial Redundancy Elimination

نویسندگان

چکیده

Partial redundancy elimination (PRE) is a code optimization algorithm that simultaneously performs common sub-expression and loop-invariant motion. Traditional PREs analyze the entire program eliminate redundancies. By contrast, demand-driven PRE (DDPRRE) proposed as an to only part of determine whether each expression redundant by query propagation. The previous DDPRE reduces analysis time because it limits range; however, known may not be eliminated when nodes in loop are revisited. We propose novel DDPRE, named lazy (LDPRE), which eliminates delaying decision analyzing or node revisited cannot analyzed. LDPRE uses semi-lattice answer space during includes true/false implying queried not, but also ⊤ for undecidability. While maintaining analytical efficiency characteristic analysis, our could determining using semi-lattice.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Partial Redundancy Elimination Driven by a Cost-Benefit Analysis

Partial redundancy elimination has become a major compiler optimization that subsumes various ad hoc code motion optimizations. However, partial redundancy elimination is extremely conservative, failing to take advantage of many opportunities for optimization. We describe a new formulation of partial redundancy elimination based on a cost-benefit analysis of the flowgraph. Costs and benefits ar...

متن کامل

Value-Based Partial Redundancy Elimination

Partial redundancy elimination (PRE) is a program transformation that identifies and eliminates expressions that are redundant on at least one (but not necessarily all) execution paths. Global value numbering (GVN) is a program analysis and transformation that identifies operations that compute the same value and eliminates operations that are redundant. A weakness of PRE is that it traditional...

متن کامل

Partial Value Number Redundancy Elimination

When exploiting instruction level parallelism in a runtime optimizing compiler, it is indispensable to quickly remove redundant computations and memory accesses to make resources available. We propose a fast and efficient algorithm called Partial Value Number Redundancy Elimination (PVNRE), which completely fuses Partial Redundancy Elimination (PRE) and Global Value Numbering (GVN). Using value...

متن کامل

Partial Redundancy Elimination in SSA

The SSAPRE algorithm for performing partial redundancy elimination based entirely on SSA form is presented. The algorithm is formulated based on a new conceptual framework, the fac-tored redundancy graph, for analyzing redundancy, and represents the rst sparse approach to the classical problem of partial redundancy elimination. At the same time, it provides new perspectives on the problem and o...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

ژورنال

عنوان ژورنال: Journal of information processing

سال: 2023

ISSN: ['0387-6101']

DOI: https://doi.org/10.2197/ipsjjip.31.459